package models

import "gorm.io/gorm"

type Books struct {
	gorm.Model
	Title string  `gorm:"type:varchar(50);not null;comment:'单据类型'"`
	Name  string  `gorm:"type:varchar(50);not null;comment:'仓库'"`
	Num   int     `gorm:"type:int;not null;comment:'数量'"`
	Price float64 `gorm:"type:decimal(10,2);not null;comment:'金额'"`
	User  string  `gorm:"type:varchar(50);not null;comment:'制单人'"`
}
